package com.ycj.dao;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ycj.model.User;


@Service
public class UserDao extends BaseDao implements IUserDao {

	@Transactional
	public User selectByPrimaryKey(int userId) {
		 
		return this.getSqlSession().selectOne("com.ycj.findById", 1);
	}

     

}